package com.ali.springcloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author ：ALi
 * @date ：Created in 2022/7/1 14:34
 * @description：Eureka启动类
 * @modified By：
 * @version: $
 */
@SpringBootApplication
@ServletComponentScan
@Slf4j
@EnableEurekaServer
public class EurekaMain7002 {
    public static void main(String[] args) {
        SpringApplication.run(EurekaMain7002.class,args);
        log.info("*****Eureka7002启动成功!");
    }
}